package com.masterclient.app.modules.shop.beans;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @auther hm
 * @date 2020/3/6.
 */
public class DealerBean {

    @SerializedName("top_text")
    public String topText;
    @SerializedName("shop_info")
    public ShopInfoBean shopInfo;
    @SerializedName("notice_adv")
    public List<DealerItemBean> noticeAdv;
    @SerializedName("tools_adv")
    public List<ToolsAdvBean> toolsAdv;
    @SerializedName("invite_info")
    public InviteInfoBean inviteInfo;
    @SerializedName("order_sum_info")
    public OrderSumInfoBean orderSumInfo;
    @SerializedName("auto_order_info")
    public AutoOrderInfoBean autoOrderInfo;

    public static class ShopInfoBean{
        @SerializedName("name")
        public String name;
        @SerializedName("logo")
        public String logo;
    }

    public static class ToolsAdvBean{

        @SerializedName("title")
        public String title;
        @SerializedName("sub_title")
        public String subTitle;
        @SerializedName("items")
        public List<DealerItemBean> items;

    }

    public static class InviteInfoBean{
        @SerializedName("invite_agent")
        public InviteAgentBean inviteAgent;
        @SerializedName("share_shop")
        public ShareShopBean shareShop;

        public static class InviteAgentBean{
            @SerializedName("redirect_url")
            public String redirectUrl;
            @SerializedName("img_url")
            public String imgUrl;
        }

        public static class ShareShopBean{
            @SerializedName("img_url")
            public String imgUrl;
            @SerializedName("share_info")
            public ShareInfoBean shareInfo;

            public static class ShareInfoBean{
                @SerializedName("share_url")
                public String shareUrl;
                @SerializedName("share_img")
                public String shareImg;
                @SerializedName("share_title")
                public String shareTitle;
                @SerializedName("share_desc")
                public String shareDesc;
                @SerializedName("share_qrcode")
                public String shareQrCode;
                @SerializedName("jump_type")
                public String jumpType;
                @SerializedName("path")
                public String path;
                @SerializedName("shop_logo")
                public String shopLogo;
            }
        }
    }

    public static class OrderSumInfoBean{
        @SerializedName("paid_order_sum")
        public String paidOrderSum;
        @SerializedName("paying_order_sum")
        public String payingOrderSum;
        @SerializedName("shipping_order_sum")
        public String shippingOrderSum;
        @SerializedName("after_sale_order_sum")
        public String afterSaleOrderSum;
    }

    public static class AutoOrderInfoBean{
        @SerializedName("left_title")
        public String leftTitle;
        @SerializedName("auto_order_num")
        public String autoOrderNum;
        @SerializedName("left_sub_title")
        public String leftSubTitle;
        @SerializedName("right_title")
        public String rightTitle;
    }
}
